<?php
/**
 * ===============================================
 * 版权所有 2019-2050 青岛铁锤科技有限公司，并保留所有权利。
 * 网站地址: http://www.huaxianling.com
 * ===============================================
 * Author: Wyp
 */

namespace App\Modules\Live\Validators;


class LiveControllerValidator
{
    public static function validator()
    {
        return [
            'getLiveInfo' => [
                'live_id' => [
                    'title' => '直播id',
                    'rule' => 'required',
                    'message' => []
                ]
            ],
            'editLive' => [
                'live_id' => [
                    'title' => '直播id',
                    'rule' => 'required',
                    'message' => ['直播id不能为空']
                ]
            ],
            'createLive' => [
                'store_id' => [
                    'title' => '店铺id',
                    'rule' => 'required',
                    'message' => []
                ],
            ],
        ];
    }
}